Awezome

  • 主页
  • 随笔
所有文章 友链 关于我

Awezome

  • 主页
  • 随笔

php strstr stristr strpos

2014-04-16

string strstr ( string $haystack , mixed $needle [, bool $before_needle = false ] )
返回 haystack 字符串从 needle 第一次出现的位置开始到 haystack 结尾的字符串。
Note:
该函数区分大小写。如果想要不区分大小写,请使用 stristr()。
Note:
如果你仅仅想确定 needle 是否存在于 haystack 中,请使用速度更快、耗费内存更少的 strpos() 函数。
from : http://www.php.net/manual/zh/function.strstr.php

赏

谢谢你请我吃糖果

  • php
  • PHP

扫一扫,分享到微信

本地前端开发 Document mode 为ie7 default 问题
xshell Solarized Dark配色
© 2014-2019 Awezome
Hexo Theme Zilia by Awezome